package com.heima.mongo.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Document("tb_item")
@Data
public class Item {
    @Id
    private String id;
    private  String name;
    private  Double price;
    private Date createTime;
}
